<include file="Public:header" />
<!--------------container--------------->
<div class="container">
			<div id="position">
            	<p><a href="__ROOT__">首页</a>>><a href="{:U('Article/category?id=' . $category['cat_id'])}">{$category.cat_name}</a>>><span>{$detail.title}</span></p>
            </div>
        <div id="m_left">
        	<h4>{$category.cat_name}</h4>
            <ul>
            <volist name="news" id="vo">
                <li>
                    <a href="{:U('Article/entry?id=' . $vo['article_id'])}" target="_blank" title="{$vo.title}">{$vo.title|csubstr=0,22} <span class="date">{$vo.add_time|date='m-d',###}</span></a>
                </li>
            </volist>
            </ul>
        </div>
        <div id="m_right">
       		<div class="article_unit">
 				<h3>{$detail.title}</h3>
	<h6>来源：{$detail.come_from} 浏览次数：{$detail.hits} 作者：{$detail.author} 发表时间：{$detail.add_time|date="Y-m-d",###}</h6>
                    <div class="article_content">
                    {$detail.content}
                    </div>
        	</div>
        </div>
        
        
        <div class="comments">
                <volist name="comment" id="vo">
                
                <div class="cm_title">
                	<h5>{$vo.author}</h5>
                    <p class="cm_time">发表于{$vo.add_time|date='Y-m-d h:i:s', ###}</p>
                    <p class="cm_ip"><if condition="$vo['author_ip'] neq ''">IP:{$vo.author_ip}</if></p>
                </div>
                
                <div class="cm_content">
                <p>{$vo.content}</p>
                </div>
                
                </volist>
                {$show}
        </div>
       
        <script charset="utf-8" src="__ROOT__/Admin/Public/Js/kindeditor/kindeditor.js"></script>
        <script charset="utf-8" src="__ROOT__/Admin/Public/Js/kindeditor/lang/zh_CN.js"></script>
        <script>
                var editor;
                KindEditor.ready(function(K) {
                    editor = K.create('#editor_id', {
                    resizeType : 1,
                    allowPreviewEmoticons : false,
                    allowImageUpload : false,
                    items : [
                        'removeformat', 'emoticons', 'image', 'link']
                    });
                });
        </script>
        <div class="comments">
        <form action="{:U('Article/insertComment')}" method="post">
        <input type="hidden" name="article_id" value="{$_GET.id}" />
                <p id="comments_author">发表人：<input type="text" name="author" /></p>
                <p><textarea id="editor_id" name="content" style="width:591px;height:300px;"></textarea></p>
                <p><input type="submit" name="submitted" value="发表评论" id="submit_comment" /></p>
       </form>
        </div>
        <div class="cb"></div>
    </div>   
    <!--------------------> 
    <div class="sidebar">
     
            
      
    </div> 
</div>



<!---------end of container-----------> 
<include file="Public:footer" />